package com.honglv.pojo.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Getter;

import java.time.LocalDateTime;
import java.util.List;
@Data

@NoArgsConstructor

/**
 * @Auther: 生
 * @Date: 2024/03/17/20:10
 * @Description:景点
 */
@Getter
@Builder
@AllArgsConstructor
@TableName("tb_attractions")
public class Attractions {

    private Long id;

    //景区名
    private String name;

    //摘要
    private String summary;
    //简介中注明开放时间 是否需要购票等等
    //内容
    private String context;

    //照片
    private List<String> pictures;

    //城市
    private String city;

    //浏览量
    private Long views;

    //点赞
    private Long like;

    //作者id
    private Long authorId;
}
